package com.hmall.order.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("tb_order_logistics")
public class OrderLogistics {
    @TableId(type = IdType.INPUT)
    private Long orderId; //订单id，与订单表一对一
    private String logisticsNumber; //物流单号
    private String logisticsCompany; //物流名称
    private String contact; //收件人
    private String mobile; //手机号
    private String province; //省
    private String city; //市
    private String town; //区
    private String street; //街道
    private Date createTime; //创建时间
    private Date updateTime; //更新时间
}